﻿@model CloudFranceTriple.Models.PlayerOnGameSet

@{
    ViewBag.Title = CloudFranceTriple.WebRole.Properties.Resources.PlayerOnGameCreateTitle;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <h1>@CloudFranceTriple.WebRole.Properties.Resources.PlayerOnGameCreateTitle</h1>
    <p></p>
    <section>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)

            <fieldset>
                <legend>@CloudFranceTriple.WebRole.Properties.Resources.PlayerOnGameCreateTitle</legend>

                @Html.HiddenFor(model => model.UserId)
                @Html.HiddenFor(model => model.GameId)
                @Html.HiddenFor(model => model.Game_Id)

                <div class="editor-label">
                     @ViewBag.GameLabel - @CloudFranceTriple.WebRole.Properties.Resources.PlayerNickName
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.PlayerNickName)
                    @Html.ValidationMessageFor(model => model.PlayerNickName)
                </div>

                <p>
                    <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.PlayerOnGameSignin" />
                </p>
            </fieldset>
        }
        @Html.Partial("_PlayerOnGameBackToList")
        @section Scripts {
            @Scripts.Render("~/bundles/jqueryval")
        }
    </section>
</div>
